package com.sky;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.LinkedList;

@SpringBootApplication
@EnableTransactionManagement //开启注解方式的事务管理
@Slf4j
public class SkyApplication {


    @Resource
    private RedisTemplate redisTemplate;

    public static void main(String[] args) {
        SpringApplication.run(SkyApplication.class, args);

        HashMap hashMap;

    }

    public static int run(int x, int y) {
        int z = 0;
        float f = 1.2f;

        String abc = "dddd";
        abc.charAt(0);

        System.out.println("xxx");
        System.out.println("xxx");
        System.out.println("xxx");
        System.out.println("xxx");
        return 20;
    }
}
